/*
 * @Descripttion: 
 * @version: 
 * @Author: hzj-1510017964@qq.com
 * @Date: 2020-04-21 15:56:20
 * @LastEditors: hzj-1510017964@qq.com
 * @LastEditTime: 2020-04-22 14:50:55
 */
const Sequelize = require('sequelize');

const db = require('../config/dbconfig')

const TabDao = db.define('k_tab', {
    tab_name: {
        type: Sequelize.STRING
    },
    tab_info: {
        type: Sequelize.STRING
    },
    tab_id: {
        type: Sequelize.INTEGER,
        primaryKey: true
    }
})



//查询tab
getTabList = () => {
    return TabDao.findAll()
}





module.exports = {
    getTabList
}